//状态总线接口
export interface StateBusInterface<T> {
    //状态
    stateEnum: T

    onEnter(): void

    onExit(): void

    update(deltaTime: number): void

    onDestroy(): void

    canTransition(to: T): boolean
}


